<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <!-- 第一步移动端的视口 -->
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <!-- 第二步引入我们的mui css mui js  -->
    <link rel="stylesheet" href="./assets/mui/css/mui.css">

    <!-- 引入图标字体css -->
    <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">
    <script src="./assets/mui/js/mui.js"></script>
    <script src='./assets/zepto/zepto.min.js'> </script>
    <script src="./assets/artTemplate/template-web.js"></script>


    <!-- 引入我们公共js -->
    <script src="./js/base.js"></script>
    <!-- 引入我们自己写的js -->
    <script src="./js/search-list.js"></script>

    <!-- 我们自己的样式 -->
    <link rel="stylesheet" href="./css/mybase.css">
    <link rel="stylesheet" href="./css/search-list.css">
</head>

<body>
    <!-- 主页面标题 -->
    <header class="mui-bar mui-bar-nav header">
        <a class="mui-icon  mui-icon-arrowleft mui-pull-left" herf='search.html'></a>
        <h1 class="mui-title">乐淘云购物</h1>
    </header>

    <nav class="mui-bar mui-bar-tab footer">
        <a class="mui-tab-item mui-active" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="cart.html">
            <span class="mui-icon  fa  fa-shopping-cart"></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="register.html">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>

    <div class="myseachList" id='refreshContainer'>

        <div>

            <!-- 我的搜索详情 -->
            <div class="top mui-clearfix">
                <button type="button" class="mui-btn mui-btn-danger" id='priceSort'>价格
                    <i class="mui-icon mui-icon-arrowdown"></i>
                </button>

                <button type="button" class="mui-btn mui-btn-royal" id='lengNum'>销量
                    <i class="mui-icon mui-icon-arrowdown"></i>
                </button>

            </div>
            <div class="center">
                <div class="lifeSports">
                    <ul class="mui-clearfix" id='ulBox'>
                        <!-- <li>
                            <a href="">
                                <img src="images//product.jpg" alt="">
                                <span class="des">adidas阿迪达斯 男式 场下休闲篮球鞋S83700</span>
                                <p>
                                    <span>&yen;880元</span>
                                    <span>&yen;3880元</span>
                                </p>
                                <button>立即剁手</button>
                            </a>
                        </li> -->


                    </ul>
                </div>


            </div>
        </div>

    </div>




    <script type="html/text" id='tmp'>
        {{each  data item }}

             <li>
                <a href="detail.html?id={{item.id}}">
                    <img src="{{item.pic[0].picAddr}}" alt="">
                    <span class="des">{{item.proName}}</span>
                    <p>
                        <span>&yen;{{item.price}}元</span>
                        <span>&yen;{{item.oldPrice}}元</span>
                    </p>
                    <button>立即剁手</button>
                </a>
            </li>


            {{/each}}
    
    </script>

</body>

</html>